Yes, that would be nice, but currently no such thing exists AFAIK.
Note, however, that it wouldn’t magically solve all problems: if you want getindex
to preserve meta-data, you need to implement custom methods which delegate to the wrapped vector/data frame, and rewrap the result in a MetadataContainer
. But at least by default all methods would work (and discard meta-data).