Restore last view upon hitting F[1-8] twice

(Not actually a suggestion about anything related to 3.1, so move this thread where necessary)

Wouldn’t it be cool if pressing the button associated to a view preset again would restore previous view? Press F1 = load view preset; press F1 again = restore previous view