Wasn’t this a Brady Bunch episode?
Not to mention a bunch of Star Trek, Gunsmoke, Bonanza, and Gilligan's Island episodes as well.
Evil Twins from '60s Television