Revert "Revert "clone""

This reverts commit db50c4b40320cce34a9a917b450dd42b4de5d8cf.