That provision may be made for and in connection with persons who are not domiciled in the United Kingdom, but are or were the spouse or civil partner of a person so domiciled, to elect to be treated as so domiciled for the purposes of inheritance tax.