docs: @SuppressWarnings("SameParameterValue") // Using same method params as in restrictStateBounds
      @Nullable
      State restrictStateBoundsCopy(State state, State prevState, float pivotX, float pivotY,
              boolean allowOverscroll, boolean allowOverzoom, boolean restrictRotation) {
          tmpState.set(state);
          boolean changed = restrictStateBounds(tmpState, prevState, pivotX, pivotY,
                  allowOverscroll, allowOverzoom, restrictRotation);
          return changed ? tmpState.copy() : null;
      }