Added missing `clear()` method in `Collection`