The first spell you cast from anywhere other than your hand each turn has demonstrate. (When you cast that spell, you may copy it. If you do, choose an opponent to also copy it. A copy of a permanent spell becomes a token.)
Whenever you copy a spell, put a +1/+1 counter on The Twelfth Doctor.
Creature spells you cast have demonstrate. (Whenever you cast a creature spell, you may copy it. If you do, choose an opponent to also copy it. Each copy becomes a token.)
The first nonlegendary creature spell you cast each turn has demonstrate. (When you cast that spell, you may copy it. If you do, choose an opponent to also copy it. Each copy becomes a token.)
Artifact spells you cast have demonstrate. (Whenever you cast an artifact spell, you may copy it. If you do, choose an opponent to also copy it. Each copy becomes a token.)
Commander spells you cast have demonstrate. (When you cast a commander spell, you may copy it. If you do, choose an opponent to also copy it. The copies become tokens.)
The "legend rule" doesn't apply to commanders you control.