Implemented __imul__
Added a `clear` method