Vesper Lynd: There are dinner jackets and dinner jackets; this is the latter. And I need you looking like a man who belongs at that table.
Here what does the line "There are dinner jackets and dinner jackets" means?
It's like saying, "There are men, and there are men."
It really depends on the context. But in this context, I reckon Vesper Lynd is really saying:
"This is the latter" refers to the second of the dinner jackets, which I am presuming, is "good". (I haven't watched the movie)
It's just another way of saying about the difference between two things of the same type, but different quality.
It means that there are ordinary, run-of-the mill dinner jackets, and then there are special, well-cut, expensive dinner jackets, of the sort that a millionaire, master criminal or international secret agent would wear.
The idiom can be used for other things too:
There are answers and then there are answers.
This is, in wider sense, a ploce : The repetition of a single word for rhetorical emphasis. The term is from Gk. plekein, "to plait". Also sp. ploche, ploke, conduplicatio, diaphora, doubler.
In this case, specifically, it could be:
1) Antanaclasis (from Gk. anti “against or back,” ana “up” and klasis “a breaking”. Also sp. anaclasis, refractio, “the rebounde”, “word-clashing”)
2) Diaphora (Gk. “distinction, variance”)
Out of these two possibilities, antanaclasis is definitively a better choice as the second figure, diaphora, refers to ploce of common names.
The antanaclasis fits because in the expression
the phrase takes different meaning, in one case it means an ordinary dinner jacket and in another a dinner jacket that would fit at "that table".