Clone both input and output documents. Combines CLONE_INPUT
and CLONE_OUTPUT
.
Clone input documents to maintain immutability of the original input.
Do not clone inputs or outputs. Resulting documents may share references. This is the default mode.
Clone output documents to ensure distinct objects without shared references.
Enum representing the processing modes for handling input and output documents. This determines whether cloning is applied to maintain immutability or ensure distinct object references.