Ice dams are created by heat loss. Insulation and air sealing are the only way to prevent the circumstances which lead up to the build up a nice big Maine ice dam.
You can rake your roof or put heaters above the soffits but those are only band-aids. Proper air sealing and high quality insulation are the cure.