Duplicate & Repeat tool so special is that it duplicates not just the selected object, but the actions you’ve taken on the object. Also Duplicate and repeat helpful in creating a sequence of height, size, and angle adjustments.
Select a cube and make it flat to create a platform. Click on Duplicate and repeat icon or press Ctrl+ D.
Another block appeared at the same position of original block. Drag that block upwards and decrease its measurements.
Press the Ctrl+ D and there will another block displaying with same adjustments. This is how this works.