clone method

Vec3 clone()

Clone the vector

Implementation

Vec3 clone() {
  return Vec3(x, y, z);
}