NPC support

Let's add support for copying NPCs, which would be very helpful. Ideally, it would support both default NPCs and those provided by plugins.

Ping, maybe we could also get back to this topic.