In reality it does nothing if the party that's going to indemnify you does not have funds to do so. You are much better getting insurance if you really think there is a risk of something like this happening to you. There is a much greater level of protection than a mere clause in a contract. As a contractor, you should never agree to such a clause unless you are a big company capable of covering such a clause. If you a contractor put in such a position, go get insurance and make the company putting in the clause pay for it. That's the cost of doing business with them.