dup method
Creates a new copy of T
with the same attributes as the original except its id
Implementation
@override
ClusterizedPlacemarkCollection dup(MapObjectId mapId) {
return ClusterizedPlacemarkCollection(
mapId: mapId,
placemarks: placemarks,
radius: radius,
minZoom: minZoom,
zIndex: zIndex,
onTap: onTap,
onClusterAdded: onClusterAdded,
onClusterTap: onClusterTap,
consumeTapEvents: consumeTapEvents,
isVisible: isVisible
);
}