I Love Stuff Like This
I'm reading Homicide: A Year On The Killing Streets by David Simon. It was the real-life basis for the fictional Homicide television show and of course Simon went on the create The Wire.
One of the detectives in the book is Sergeant Jay Landsman, who is the basis for a character also named Jay Landsman in the fictional universe of The Wire. The real-life Jay Landsman has a role in the show, playing a uniformed lieutenant.
It gets better. John Munch from Homicide is based on the real Landsman and the character Munch appeared in whopping eight different TV series (I remember seeing him in The X-Files, but missed him in Arrested Development) ... including most recently in The Wire, lecturing a bartender on what it means to be a regular. So The Wire had: A character named Jay Landsman based on Jay Landsman, the real Jay Landsman portraying another character, and a cameo by a fictional character that was based on Jay Landsman. Yeah!