def METHOD_NAME(self, name: str):
    parent_sv = layer_resource_subvol(__package__, name)
    with TempSubvolumes(Path(sys.argv[0])) as temp_subvols:
        # Cannot use `.snapshot()` since that doesn't handle mounts.
        child_sv = temp_subvols.caller_will_create(name)
        ParentLayerItem.get_phase_builder(
            [ParentLayerItem(from_target="t", subvol=parent_sv)],
            DUMMY_LAYER_OPTS,
        )(child_sv)
        yield child_sv