Add clamp method to vector utils