Create a shallow copy of a parse/generator context so that mutations (e.g. adding prefixes during parsing) do not affect the original.
The context to copy.
A new context with cloned prefixes and parseMode.
prefixes
parseMode
Create a shallow copy of a parse/generator context so that mutations (e.g. adding prefixes during parsing) do not affect the original.