allow for each copy() of Location, Vector2f and Vector3f without adding special methods to each type in C++