Note that the regular R assignment operation on a GatingSet object does not return the copy as
one would normally expect because the GatingSet contains environment slots (and external pointer for GatingSet),
which require deep-copying. So make sure to use this clone method in order to make a copy of existing object.
Value
A copy of a given GatingSet.
Examples
## Not run:
#G is a GatingSet
G1<-clone(G)
## End(Not run)