protected virtual CARDINALITY CloneCardinality(openehr.openehr.am.archetype.constraint_model.CARDINALITY o)
        {
            CARDINALITY result = new CARDINALITY();

            result.is_ordered = o.is_ordered();
            result.is_unique = o.is_unique();
            result.interval = CloneIntervalOfInteger(o.interval());

            return result;
        }