docs: public void cleanup(boolean reuse, boolean wasInsert)
      {
          if(currentImage != null)
          {
              performImageCleanup(currentImage, reuse);
          }
          if(beforeImage != null)
          {
              // we always free all resources of the old image
              performImageCleanup(beforeImage, false);
          }
          if(reuse)
          {
              refreshObjectImage(wasInsert);
          }
          else
          {
              myObj = null;
          }
      }