/** * Returns a shallow clone of the information, as obtained by the {@link Object} implementation of * {@link Object#clone()}. The map is also cloned, but it still references the same objects. * * @return a shallow clone of this {@link TabularDataSupport}. */ @SuppressWarnings("unchecked") public Object clone() { TabularDataSupport clone = null; try { clone = (TabularDataSupport) super.clone(); clone.setMap((HashMap<Object, Object>) dataMap.clone()); } catch (CloneNotSupportedException e) { /* This won't happen as we implement Cloneable */ } return clone; }