added equal, set and clamp to vector, with tests