Well usually most loans (MD chime in here if I'm wrong!) make you buy 'replacement cost' coverage, which would be the amount to rebuild the structure. I don't know what happens in an over-inflated real estate market, thats a toughie....
I would assume those who built there would have special coverage for this type of thing? I don't think I would build on a cliff without some sort of special coverage?