pub fn clone(parentdir: &Path, url: Url) -> Result<()>