Everything got duplicated

Happening for the second time; two different projects. The great convenience of Figma sometimes causes problems that would never happen on other software. Realized very late that every single object on my canvas got duplicated overlapping itself! I must’ve done “Cmd + A” and “Cmd + V” or something else, can’t think of another reason how.

It’s a gigantic project and selecting every single object and deleting the one on top is super taxing This happened on a different project in the past, and I thought it was probably my fault. Once again now, which is still probably my fault, but I’m a human after all. I wish there was a way of fixing this or one button that deletes all the duplicates that are within a specific distance from each other.