public static SettingsDefinition[] concat(SettingsDefinition[] settings,
			SettingsDefinition... additional) {
		if (additional == null) {
			return settings;
		}
		if (settings == null) {
			return additional;
		}
		ArrayList<SettingsDefinition> list = new ArrayList<>();
		list.addAll(Arrays.asList(settings));
		for (SettingsDefinition def : additional) {
			if (!list.contains(def)) {
				list.add(def);
			}
		}
		return list.toArray(new SettingsDefinition[list.size()]);
	}
Create a new list of {@link SettingsDefinition}s by concat'ing a base list with
a var-arg'ish additional list of setting defs.  Any additional duplicates are discarded.
@param settings List of settings defs.
@param additional More settings defs to add
@return new array with all the settings defs joined together.
Ghidra/Framework/Docking/src/main/java/ghidra/docking/settings/SettingsDefinition.java