Create a copy of {rosv} R6 class objects to ensure original is not also updated with future changes.
Details
Since R6 classes have reference semantics, to escape updating original objects a clone can be made with this function.
Examples
original_obj <- RosvQuery1$new(name = 'readxl', ecosystem = 'CRAN')
new_obj <- copy_rosv(original_obj)