How do I clone a vector in JavaScript?

Is there a cool way to create a copy of a vector? Especially a translation vector?
Apart from a for loop

glMatrix.vec3.copy(toVec, fromVec)

I’ve also find out you can just put it as parameter of a float32array and it will copy it!