Added dup_habtm option to physically duplicate associated objects.