Don't allow the Index parameter of the Duplicate layer to be converted.