public void inherit(String inheritedName) {
        inherited = null;
        inheritedNames.add(inheritedName);
    }
Adds a profile to those inherited by this.
The profile must belong to this schema (directly or by inheritance).
config-model/src/main/java/com/yahoo/schema/RankProfile.java