Simple ragdoll creation

What is the most efficient method of creating a ragdoll of an entity? I tried simply creating a ragdoll with the same model as the entity, but then I have to set its physics objects to the same positions as the entity’s bones, which is expensive and messy; any ideas??