[Core] Adding a flag to use -p option on the clone command (fixes #1).