add a shallow clone utility