I know quantization can do that but you lose the rhythmic nuances & groove & relative spacing of the midi notes to each other if you quantize it to the grid even if its a small amount.
In Stretch Markers midi stretches in one direction so keeping the rhythmic flow still intact somehow when stretching unlike quantization where some notes go back & others go forward to snap to the grid.
Ableton does that with MIDI warp markers.