Creates a new vec2 initialized with values from an existing vector
vector to clone
a new 2D vector
Generated using TypeDoc
Creates a new vec2 initialized with values from an existing vector