A note on magnetic generalizations of the Kerr and Kerr–Newman solutions