Returns a clone of this mapping with the `is_pruning` flag set to
        *True*.

def as_pruning(self):
        """
        Returns a clone of this mapping with the `is_pruning` flag set to
        *True*.
        """
        return PruningMapping(self.__mp_reg, self.__mapped_cls, self.__de_cls,
                              self.__configurations[-1])