Added duplication finction to nestable parts. Fixes #21