Create cloning_func.cu

Not for resale.