Split clear function.