I'm looking at the option of storing Simulacrum in an 8th-level Glyph of Warding. My question is how it will determine what creature gets duplicated.
You shape an illusory duplicate of one beast or humanoid that is within range for the entire casting time of the spell.
Glyph of Warding says:
If the spell has a target, it targets the creature that triggered the glyph.
I'm not sure if the quoted section of Simulacrum counts as "targeting a creature". I could basically see two ways this plays out, and I'm not sure which way it should go:
You store Simulacrum, targeting yourself, in Glyph of Warding. Whenever the glyph is triggered, it summons a simulacra of yourself as you were when you inscribed the glyph.
You store Simulacrum in a Glyph of Warding. When the glyph is triggered, it "targets" and summons a copy of the creature who triggered the glyph. If they are a valid target (humanoid or beast) it creates a simulacra of the target in the state they were in when the glyph was triggered.
Which interpretation is correct?