First, to clarify what others have said, Illusions are phantasms AND clones. Phantasms can do small damage, Clones do 0. Neither are forced to be shatter fodder as you can have them for distractions, or you can get traits that have them spread conditions and things. In general, don't think of the Mesmer as a pet class. Illusions do so much more than a simple attacking pet.