Returns a new vector of greater dimension by copying elements and appending scalar.
Vec2 v = [1, 2]; assert(v ~ 3 == Vec3(1, 2, 3));
See Implementation
Returns a new vector of greater dimension by copying elements and appending scalar.