CallGroup groupDup = (CallGroup) group.duplicate();
CallGroup groupDup = (CallGroup) duplicateBean(group, QUERY_CALL_GROUP_IDS_WITH_NAME);    groupDup.setExtension(null);
    public void duplicateCallGroups(Collection ids) {        for (Iterator i = ids.iterator(); i.hasNext();) {            CallGroup group = loadCallGroup((Integer) i.next());            CallGroup groupDup = (CallGroup) group.duplicate();            groupDup.setEnabled(false);            storeCallGroup(groupDup);        }    }