I want to create armor stands whenever I stand on a certain block, but when I stand on it, it summons a lot of armor stands.

I tried `/kill @e[type=ArmorStand,c=!1]` to kill all except the newest one but it killed all of them.

What should I do to remove all except the youngest?