More robustness for deepcloning.