Continue trajectory after keyframe

I am wondering if there is anything like the loopOut (“offset”) expression in adobe after effects? For example I would like an object to continue to move at the same rate and trajectory even after the playhead has passed the last keyframe in the sequencer. Please see this short video for an example of what I mean:

This function would be hugely useful for animations. Is something similar available?

Can anyone please help?

Try Pre and Post Infinity: