src/vs/editor/contrib/documentSymbols/outlineModel.ts/OutlineModel/adopt
class OutlineModel:	adopt(): OutlineModel {
		let res = new OutlineModel(this.uri);
		for (const [key, value] of this._groups) {
			res._groups.set(key, value.adopt(res));
		}
		return res._compact();
	}