Mechanisms for delivering hydrogen from ammonia-borane via protons, hydrides, and a dative bond