private static <V> List<V> copy(List<V> list) {
        return new ArrayList<>(list);
    }
Prune operations that have had either their entire input or output shape pruned.
<p>
Also prune any operation-level errors that have had their corresponding shape pruned.
aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/customization/processors/PruneUnsupportedShapesProcessor.java