code: def clone(self, path = None, *, with_contents = True, **options):
  		
  		file = File(path if path else self.path, cwd=options.get("cwd", self.cwd))
  		file.base = options.get("base", self.base)
  
  		if with_contents:
  			file.contents = options.get("contents", self.contents)
  
  		return file
docs: Clone the file.