code: function() {
          this.stop();
  
          // Go to first item
          this.jump(0);
  
          // Remove clones
          var dir = this._position || 'left';
  
          this.container.transitionend(function() {
              $(this)
                  .addClass('no-transition')
                  .css(dir, 0)
                  .find('li.is-cloned')
                      .remove();
          });
      }
docs: Stop the carousel before destroying.