Added duplicate feature. Closed #34