@Override
                        public void changed(ChangeEvent event, Actor actor) {
                            var drawableData = new DrawableData();
                            drawableData.set(drawable);
            
                            dialogFactory.showDuplicateDialog("Duplicate Ten Patch Drawable", "Please enter the name of the duplicated ten patch drawable", drawable.name, new DialogFactory.InputDialogListener() {
                                @Override
                                public void confirmed(String text) {
                                    drawableData.name = text;
                                    atlasData.getDrawables().add(drawableData);
                                    gatherDrawables();
                                    atlasData.produceAtlas();
                                    sortBySelectedMode();
                                }
                
                                @Override
                                public void cancelled() {
                    
                                }
                            });
                        }
Recreates the drawables array only including visible drawables.
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java