Clone/duplicate an object
This is a generic function and methods for making a copy of an object such as a curl handle, C-level pointer to a file, etc.
clone(x, ...)
x |
the object to be cloned. |
... |
additional parameters for methods |
Typically, an object of the same class and “value”
as the input - x
.
Duncan Temple Lang
h = getCurlHandle(verbose = TRUE) other = dupCurlHandle(h) curlSetOpt(curl = h, verbose = FALSE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.