class BinData::Base

def new(value = nil, parent = nil)

when creating multiple objects with the same parameters.
All parameters will be be duplicated. Use this method

Creates a new data object based on this instance.
def new(value = nil, parent = nil)
  obj = clone
  obj.parent = parent if parent
  obj.initialize_instance
  obj.assign(value) if value
  obj
end