One of Gilligan's Island's fellow 1960s sitcoms reused its lagoon set during an episode that tipped its hat to the series.