Improvements to cloning performance.