updated clear()

updated clear doc