How do I duplicate a complex segment?