static MemberMap cloneAdding(MemberMap source, MemberImpl... newMembers) {
        Map<Address, MemberImpl> addressMap = new LinkedHashMap<>(source.addressToMemberMap);
        Map<String, MemberImpl> uuidMap = new LinkedHashMap<>(source.uuidToMemberMap);

        for (MemberImpl member : newMembers) {
            putMember(addressMap, uuidMap, member);
        }

        return new MemberMap(source.version + newMembers.length, addressMap, uuidMap);
    }
static MemberMap cloneAdding ( MemberMap source , MemberImpl ... newMembers ) { Map < Address , MemberImpl > addressMap = new LinkedHashMap < > ( source . addressToMemberMap ) ; Map < String , MemberImpl > uuidMap = new LinkedHashMap < > ( source . uuidToMemberMap ) ; for ( MemberImpl member : newMembers ) { putMember ( addressMap , uuidMap , member ) ; } return new MemberMap ( source . version + newMembers . length , addressMap , uuidMap ) ; }
Creates clone of source {@code MemberMap} additionally including new members.

@param source     source map
@param newMembers new members to add
@return clone map