Making a Trail to an object, to see where it has been

Hey guys, i’m making a game where the player can rewind, pause and slow down time.
I want to make an effect like in this video where the player can see where the object has been and where it will go when it rewinds. In the video there’s an object being spawned each frame and is very expensive.

Do anyone know of a cost effecient way of doing a similiar effect?

Thanks!

Solved.
I used Instanced Static Meshes, i had it check the last in the ISM array, if the distance was more than 50cm in any direction, then it added a new one, very cost effective.