Segment removal tool

An Android app I use called Infinite Design has a “Segment” tool that works sort of like this:
51c4a03f-2287-4d79-ad50-7421f81128b2

It would be really helpful to have a feature like this for polishing linework without fiddling with the eraser. :star_struck: Maybe it could be grouped with the eraser, like how Flash has an alternate Flood Fill mode in the eraser tool settings:
image