@Override
    public DataBuffer createSame(DataBuffer buffer, boolean init, MemoryWorkspace workspace) {
        return create(buffer.dataType(), buffer.length(), init, workspace);
    }
@ Override public DataBuffer createSame ( DataBuffer buffer , boolean init , MemoryWorkspace workspace ) { return create ( buffer . dataType ( ) , buffer . length ( ) , init , workspace ) ; }
This method will create new DataBuffer of the same dataType & same length

@param buffer
@param workspace
@return