* Provide a way to enable shallow cloning using the SCM_USE_SHALLOW_CLONE flag

Fixes #454