added clone function to vec3