Convert from ~T to Box<T> and ~[] to Vec<> notations