Stack: Clone |
Creates a shallow copy of the Stack.
Public Function Clone ( ) As Stack
Returns a second stack with the same contents as the original.
A shallow copy of a collection copies only the elements of the collection, whether they are reference types or value types, but it does not copy the objects that the references refer to. The references in the new collection point to the same objects that the references in the original collection point to.