Esc key to clear out search bar

It would be handy if one could easily clear out the search bar on iOS with the ESC key, vs clicking on the little x to the right of the search bar. Ignore if it’s already available somehow.