code: function(object) {
        this._restoreObjectsState();
        removeFromArray(this.objects, object);
        object.setActive(false);
        this._calcBounds();
        this._updateObjectsCoords();
        return this;
      }
docs: Removes an object from a group; Then recalculates group's dimension, position.
  @method removeWithUpdate
  @param {Object} object
  @return {fabric.Group} thisArg
  @chainable