Static factory method to create an equivalent instance of this type from the given `Metadata` instance.
        :param metadata: the `Metadata` instance to create an instance of this class from
        :return: the created instance of this class

def from_metadata(metadata: Metadata) -> Any:
        """
        Static factory method to create an equivalent instance of this type from the given `Metadata` instance.
        :param metadata: the `Metadata` instance to create an instance of this class from
        :return: the created instance of this class
        """
        irods_metadata = IrodsMetadata()
        for key, value in metadata.items():
            irods_metadata[key] = {value}
        return irods_metadata