Removes all elements from this collection.
Read-only aliases observe the resulting empty collection. Backing capacity and iterator invalidation follow the concrete implementation's contract.