code: public void clearAttributes() throws DevFailed {
          for (final AttributeImpl attributeImpl : dynamicAttributes.values()) {
              deviceImpl.removeAttribute(attributeImpl);
          }
          forwardedAttributes.clear();
          dynamicAttributes.clear();
      }
docs: Remove all dynamic attributes
  
  @throws DevFailed