The source engine to fork.
The ID for the forked argument.
Claim library for the new engine.
Optionaloptions: TForkArgumentOptionsOptional ID generator, checksum/position/grammar config overrides.
The forked engine and a remap table mapping original to new entity IDs.
Creates an independent copy of an argument engine under a new argument ID.
Every premise, expression, and variable receives a fresh ID. All internal cross-references are remapped.
This function does NOT call
engine.canFork()— callers are responsible for checking fork eligibility.