Umm sorry to throw another cat among the pigeons, but this sentence is turning up quite frequently as part of English-teaching material.
"Several layers of thin clothing are essential to keeping warm in frigid climates."
OK, I see two ways of looking at this:
1) "To keeping" uses a gerund. I've checked with a few other verbs, and the pattern "essential to [verb]ing" is legitimate. We can also remove the verb-form and drop in a regular noun (ie. the acid test for gerunds). So, I'm willing to argue that this is a correct sentence.
2) If we use "to keep", then we have an infinitive of purpose, ie. "in order to keep". Again, another check around shows that this is also legitimate. There's also that intermediate-level rule of "to [verb]" following adjectives.
I also checked up on Paul's suggestion of "essential for keeping", and the results show it turns up about as often as "essential to keeping".
I'd just rewrite the whole sentence and avoid the confusion. :)