// ShallowCopyClusterInformation returns a shallow copy of the given ClusterInformation. The [ClusterInformation.Tags]
// field is not deep-copied, so you must be careful when modifying it.
func ShallowCopyClusterInformation(information *ClusterInformation) *ClusterInformation {
metadata.go
tmp := *information
return &tmp
}
// IsReplicationEnabledForCluster checks if replication is enabled for a cluster, considering the feature flag.