docs: public void clear() {
  
          if (minimizeOnClear && reserveElementData != null) {
              elementData        = reserveElementData;
              reserveElementData = null;
              elementCount       = 0;
  
              return;
          }
  
          for (int i = 0; i < elementCount; i++) {
              elementData[i] = null;
          }
  
          elementCount = 0;
      }