DeepCopy(Memory<T>, CopyContext)
public Memory<T> DeepCopy(Memory<T> input, CopyContext context) Creates a deep copy of the provided input.
Parameters
inputMemory<T>- The input.
contextCopyContext- The context.
Returns
A copy of
input, or null if input is null. 