Merge branch 'refactor_cloning' into 'master'

Refactor cloning

See merge request !1
1 job for master in 12 seconds (queued for 2 seconds)