code: @VisibleForTesting
    public FeatureSet with(FeatureSet newFeatures) {
      return new FeatureSet(union(features, newFeatures.features));
    }
docs: Returns a feature set combining all the features from {@code this} and {@code newFeatures}.