Helper function to generate type quads for a Container or Resource.
Metadata to add to.
If the identifier corresponds to a container.
The generated quads.
Helper function to clone a representation, the original representation can still be used.
This function loads the entire stream in memory.
The representation to clone.
The cloned representation.