cloning results on emit to avoid modification of db when manipulating query results.