@SuppressWarnings("unchecked")
    public List<Cell> getPattern() {
        return (List<Cell>) mPattern.clone();
    }
Retrieves current displaying pattern. This method is useful in case of
storing states and restoring them after screen orientation changed.

@return current displaying pattern. <b>Note:</b> This is an independent
list with the view's pattern itself.
@since v1.5.3 beta
android-patternview/src/main/java/com/eftimoff/patternview/PatternView.java