simplify clear()