code: public StorableIndex<S> unique(boolean unique) {
          if (unique == mUnique) {
              return this;
          }
          return new StorableIndex<S>(mProperties, mDirections, unique, mClustered, false);
      }
docs: Returns a StorableIndex instance which is unique or not.