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.
Helper function to clone a representation, the original representation can still be used. This function loads the entire stream in memory.