Add a clone function for Repository

clone options not supported