public class NewCdiEjbBean<T> extends CdiEjbBean<T> implements NewBean<T> {
public NewCdiEjbBean(CdiEjbBean<T> that) {
super(that.getBeanContext(), that.getWebBeansContext());
this.getImplQualifiers().add(new NewLiteral(getReturnType()));
this.apiTypes.clear();
this.apiTypes.addAll(that.getTypes());
this.setName(null);
this.getInjectedFields().addAll(that.getInjectedFields());