added explanation for prototype class variables

I stumbled across the problem of accidentally creating shared/static variables. I seems that I am not the first one - so I thought it might be a good idea to correct this cookbook ;-)
The recipe only works for primitive variables.