Recreating 6 same panels using the json editor

I have 6 panels, (panel 1…panel6).
what I want to do is copy these 6 panels in json, so I will have 12 panels in total, and then slightly change these 6 new panels accordingly.
to do this I have to change the id "id": 2, in each panel.
is there anyhing else?
Also, what is the best way of editing the json file? is it in the browser?
I think i have to change the gridPos also:

      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "id": 4,
	  
	  ...
	  
	        "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "id": 5,

this is what my panel looks like:

  {
      "datasource": "halter-prometheus-tools",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "id": 10,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "exemplar": true,
          "expr": "rate(ifInOctets{ifAlias=\"devices\", network_name=\"2be6f728-c755-4d59-9069-a0f834ae63d0\"}[5m])",
          "interval": "",
          "legendFormat": "{{ifAlias}} {{ifName}} ifInOctets",
          "queryType": "randomWalk",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "rate(ifOutOctets{ifAlias=\"devices\", network_name=\"2be6f728-c755-4d59-9069-a0f834ae63d0\"}[5m])",
          "hide": false,
          "interval": "",
          "legendFormat": "{{ifAlias}} {{ifName}} ifOutOctets",
          "refId": "B"
        }
      ],
      "title": "devices(br0.104) - devices/collar wifi ",
      "type": "timeseries"
    }
  • What Grafana version and what operating system are you using?
    7.5.7

  • What are you trying to achieve?
    recreate panels I already have in the dashboard for slight editing

  • How are you trying to achieve it?
    editing the json file, not using the gui

  • What happened?
    not working, may need to make more changes to the json config

  • What did you expect to happen?
    6 panel dashboard to go to 12 panels

  • Can you copy/paste the configuration(s) that you are having problems with?
    see above

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    n/a

  • Did you follow any online instructions? If so, what is the URL?
    no