BTW it works not fine
Domt care aboit m2. That is the job for an extra rool.
If this feature will exist the plugin will be very very inconvinient for WoW modding because the model will be full of useless doodad placeholders.
If blender support layers. You could create a layer for every doodadset and import the m2 in there. Then name them with full mpq path if possible. Now people could move them around. Dont knkw how to handle size. During export you fetch the layers by name and create again the sets, calculate the doodad positon and add them to set. Then an import m2 funtion added and it is perfect. We can then even add another doodad group by addin a new layer with correct name. And machinima guys have full model.