`_.clone(ignoreFiles)`? Otherwise there's potential bugs if this function is ever called more than once.