(gB) expenditure (other than expenditure which has qualified in whole or in part for deduction or allowance under any of the other provisions of this section) actually incurred by the taxpayer during the year of assessment in obtaining the grant of any patent or the restoration of any patent, or the extension of the term of any patent under the Patents Act or the registration of any design, or the extension of the registration period of any design under the Designs Act or the registration of any trade mark, or the renewal of the registration of any trade mark under the Trade Marks Act or under similar laws of any other country, if such patent, design, or trade mark is used by the taxpayer in the production of his or her income;