code: function() {
              var content = this.content;
              Kinetic.Container.prototype.destroy.call(this);
  
              if(content && Kinetic.Util._isInDocument(content)) {
                  this.getContainer().removeChild(content);
              }
              var index = Kinetic.stages.indexOf(this);
              if (index > -1) {
                  Kinetic.stages.splice(index, 1);
              }
          }
docs: destroy stage
  @method
  @memberof Kinetic.Stage.prototype