Fix MPS-19986 [build:MPS-135.944] Illegal model write in ResolveUnknownUtil
replaced node.detach -> node.copy
Merge remote-tracking branch 'origin/MPS3.1'
Re-generated after merge