Optimize clone performance