seems like your friends are very smart. transfer some income to their spouse is income deductible.
two things are very important:
the spouse should not withdraw any dollar from RRSP before it maturity. AND, amount in RRSP and TFSA account should invest somewhere, like GIC or Seg funds.