recursive clone in case of submodules