execute(graphics) {
    return new Promise((resolve) => {
      this.undoData.objects = graphics.removeAll();
      resolve();
    });
  }
Clear all objects without background (main) image
@param {Graphics} graphics - Graphics instance
@returns {Promise}