Makes a shallow clone of this bag; i.e., if items of the
bag are reference types, then they are not cloned. If T is a value type,
then each element is copied as if by simple assignment.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
SyntaxReturn Value
Type:
BagTThe cloned bag.
RemarksCloning the bag takes time O(N), where N is the number of unquie items in the bag.
See Also