Sonar clean ups for clone() related violations and others.
Fix a problem with collecting ragged descendant members.
Fix #89: Member aggregation does not work on ragged members.