added support for --mirror option on clone command