Forces a Geometry into 3D mode by returning a copy with {@link Double.NaN} z-coordinates set to 0 (other z-coordinates are left untouched).