Double, Double (Star Trek novel)

Double, Double is a science fiction novel by American writer Michael Jan Friedman, part of the Star Trek: The Original Series franchise.

Plot
One android has survived the destruction of Roger Korby and his scientific facilities. Seeking revenge on Captain Kirk, the surviving droid fools the USS Hood with a distress signal. The Hood's command crew is soon overtaken by a well-organized ambush and Kirk himself is framed for murder.

Kirk's android double takes over his command position on the Enterprise. The real Kirk must rally the survivors of the Hood and his own crew to prevent his double from using the Enterprise for his own nefarious purposes.