Introduce and use RcVec<> to avoid deep-cloning vectors of
type parameters and so forth that are shared between types
and methods.