I misread a question and wrote up this thread. These were collected at a train show. I am not sure if they make them in metal anymore. I think they are plastic and come in a package of 12.
The metal ones fit 027 track. Or you can use an elastic.
For o scale track you can turn them sideways...