mutapath.MutaPath.clone

MutaPath.clone(contained) → mutapath.immutapath.Path[source]

Clone this path with a new given wrapped path representation, having the same remaining attributes. :param contained: the new contained path element :return: the cloned path