Add clear() method