Think at hypervisor level. Most VM solutions support some form of memory deduplication. VM level cloning wouldn't be too far from that model IMO.
With that, you don't even need to do deduplication after the fact, it comes for free. When a new VM is forked, it's memory and disk are copy-on-write from the source/parent VM.