@Override public Mark copy() { Mark copy = new Mark(); copy.wellKnown = wellKnown; copy.fill = fill.copy(); copy.stroke = stroke.copy(); copy.markIndex = markIndex; // these two should be safe to just copy the references: copy.shape = shape; copy.font = font; return copy; }