Add `clone()` method, e.g. ``` r clone.listenv <- function(x, ...) { as.listenv(as.list(x, ...)) } ``` This can be useful when changing dimensions, e.g. `y <- as.matrix(clone(x))`.
Add
clone()method, e.g.This can be useful when changing dimensions, e.g.
y <- as.matrix(clone(x)).