Checks if two icons are equal.
true if @icon1 is equal to @icon2. false otherwise.
pointer to the second #GIcon.