Why init function for a class variable is executed twice?

Reminds me of Is there any optimization for constants? - #11 by straight-shoota