protected void setInvalid(boolean invalid) {
        this.invalid = invalid;
    }
release objects.
add() method call is not allowed anymore.
jme3-core/src/main/java/com/jme3/animation/CompactArray.java