add clear()/clear(String) method