Removes all elements from the System.Collections.ObjectModel.Collection`1.
Collection`1.Count is set to zero, and references to other objects from elements of the collection are also released.
This method is an O(n) operation, where n is Collection`1.Count.