Yes, it was on purpose. To do this you have to set your din at around 2-3, depending on your weight. Use your foot that will be trailing the spin (ex. spin left, undo right binding). Be sure to hit a jump with a LOT of pop, preferably an aerial's double jump, and when you take off purposely catch the trailing ski's outside edge into the lip. The force will rip your ski off, perfectly. You won't even notice until you land that your ski properly came off so just throw the trick as you normally would.