docs: public static Attribute cloneAttribute(String newAttrName, Attribute attr) throws WIMSystemException {
          Attribute newAttr = new BasicAttribute(newAttrName);
          try {
              for (NamingEnumeration<?> neu = attr.getAll(); neu.hasMoreElements();) {
                  newAttr.add(neu.nextElement());
              }
          } catch (NamingException e) {
              throw new WIMSystemException(WIMMessageKey.NAMING_EXCEPTION, Tr.formatMessage(tc, WIMMessageKey.NAMING_EXCEPTION, WIMMessageHelper.generateMsgParms(e.toString(true))));
          }
          return newAttr;
      }