Is it cheaper to buy a home in cash or with a mortgage?

Is it cheaper to buy a home in cash or with a mortgage?