The practice of swiping could soon be limited to thieves and online daters as Mastercard Inc. prepares a phaseout of the magnetic stripes that enable people to swipe their credit and debit cards.