Duplicating blocks is slow

Specifically if statements that I’ve noticed this with, even empty ones. If there is something inside it takes a few more seconds to load the contents.