added skip key pattern support for extend

given 2nd argument as a string pattern, any key matching (indexOf) will be skipped