Add `clear` method to the list