Added vector clear method to reset the vector quickly
Manual merge