(1) The credit shall be allowed only for taxes paid to the other state (not including any preference, alternative, or minimum tax comparable to the tax imposed by Section 17062) on income derived from sources within that state which is taxable under its laws irrespective of the residence or domicile of the recipient.
This paragraph shall not apply to residents to whom subdivision (b) of Section 17014 applies.