turns a shallow copy of the `Path`, which will share the
        vertices and codes with the source `Path`.
        r