Mbed-os 6.17 doesn't have the Interrupt Clear function in Interrupt class?

Hello,

There will be not future releases under ARM Mbed - Important update on Mbed - End of Life - Mbed OS - Arm Mbed OS support forum

What should the Clear method do? Because how you exactly wrote, the button generates, so the issue is in hardware and it is not issue of Mbed.
The class/driver is called InterruptIn because it is for manage interrupts in general, not only for a button which has specific behavior ( Switch Bounce and How to Deal with It - Technical Articles (allaboutcircuits.com)) but also for sensors or another devices what are capable to geerate exact square signal.
In general you are responsible to make a choose what will be adapted - Software to Hardware or vice versa.

BR, Jan