I have heard my larger percula clown make these noises. It usually gets its back up when you first approach the tank. It will swim upto the glass and start to move with a sharp jolt, similar to somebody having a fit and you can hear the clicking noises through the glass.
The first time I heard it I thought the silly fish was head butting the actual glass !!!