In the episode Dr. Feelgood, Stark keeps setting off the metal detector when walking in with the DA, each time he sets it off, he walks back through and takes something metal out of his pockets, and repeats. Each time he walks into the building, the metal detector goes off, but not seconds later when he walks back through the detector before emptying his pockets.