How does a blanket prevent ice from melting?

A blanket encloses air layer in its pores and fur which prevents heat from outside to come in contact with the ice and melt it.