code: public void setMaxViewport(Viewport maxViewport) {
          setMaxViewport(maxViewport.left, maxViewport.top, maxViewport.right, maxViewport.bottom);
      }
docs: Set maximum viewport to the same values as viewport passed in parameter. This method use deep copy so parameter
  can be safely modified later.
  
  @param maxViewport