Queue: Clone |
Creates a shallow copy of the Queue.
Public Function Clone ( ) As Queue
Returns a second queue 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.