Merge pull request #1629 from monarchdodra/emplaceArray

Final fix for emplace