Context: How to cancel the last order and restore the last quote on an unsuccessfull payment?
Details:
\Magento\Checkout\Model\Session::getLastRealOrder()
\Magento\Sales\Model\Order::registerCancellation()