copy, set, mean with mask operations

methods with binary masks applied. created new entry points rather than
modifying existing methods to avoid compat issues
Merge pull request #137 from jhludwig/mask-operations

copy, set, mean with mask operations