Allen & Overy substantially increased the cash on its balance sheet in the last financial year following a series of protective measures undertaken at the start of the pandemic, its latest accounts have shown.