Use VM-Generation ID and DCCloneConfig.xml to separate cloning from restore
At boot, AD DS compares the hypervisor-provided VM-Generation ID with the value stored in NTDS.DIT; a mismatch resets the invocation ID and discards the RID pool.
Read the briefing