Oil extended gains after a big draw in US crude inventories, while the prospect of a slower pace of interest-rate hikes from the Federal Reserve filtered through markets, buoying commodities.