if(useShadow) trg.scope=new ComponentScopeShadow(trg,(ComponentScopeShadow)trg.base.scope,false);
}
else {
// clone data member, ignore udfs for the moment
trg._data=duplicateDataMember(trg, _data, new HashMapPro(), deepCopy);
trg._udfs=duplicateUTFMap(this,trg, _udfs,new HashMapPro<Key, UDF>());
if(useShadow) {
ComponentScopeShadow css = (ComponentScopeShadow)scope;
trg.scope=new ComponentScopeShadow(trg,duplicateDataMember(trg,css.getShadow(),MapFactory.getConcurrentMap(),deepCopy));