Added clone_with_file()