toBundle

Adds this Icon to a Bundle that can be read back with the same parameters to createFromBundle.