[common.vector] remove deprecated function
[common] mark clear as deprecated