some improvements to fast clone